package appConfig

import (
	"context"
	"github.com/elastic/go-elasticsearch/v7"
	"github.com/hashicorp/consul/api"
	"github.com/redis/go-redis/v9"
	"gorm.io/gorm"
	"sync"
)

var (
	DB           *gorm.DB
	Rdb          *redis.Client
	Ctx          = context.Background()
	Once         sync.Once
	EsClient     *elasticsearch.Client
	ConsulClient *api.Client
)
